<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta
            name="viewport"
            content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0"
    />
    <title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
    <meta name="keywords" content="{$SEO['keyword']}">
    <meta name="description" content="{$SEO['description']}">
    <script src="/statics/fals/js/jquery.js"></script>
    <script src="/statics/fals/js/rem.js"></script>
    <link rel="stylesheet" href="/statics/fals/styles/qfzx_list.css" />
    <link rel="stylesheet" href="/statics/fals/styles/base.css" />
    <link rel="stylesheet" href="/statics/fals/styles/iconfont.css" />
</head>
<body>
{pc:get sql="select domain from dgg_site where siteid=1 " num="1" dbsource="zhichanpc" }
{php $home = $data?$data[0]['domain']:'';unset($data);}
{/pc}
<div class="qfzx_container">
    <div class="qfzx_title">
        <a href="/"
        ><i class="iconfont-sp-micro-fe-element sp-icon-left"></i
        ></a>
        企服精选案例
    </div>
    <div class="qfzx_tag">
        {pc:content action="category" catid="28" num="3" siteid="$siteid" order="listorder ASC"}
        {loop $data $v}
        <a href="{$v[url]}" class="tag  {if $v[catid]==$catid} active {/if}">{$v['catname']}</a>
        {/loop}
        {/pc}
    </div>
    <section class="qfzx_list">
        {php $cat_id = dr_cat_value($catid,'main_catid');}
        {pc:get sql="select a.*,b.filepath from dgg_news a left join dgg_attachment b on a.thumb=b.aid where a.catid=$cat_id and a.status=99 order by a.id DESC"  num="200" dbsource="zhichanpc" }
        {loop $data $r}
        <a href="{$r['url']}" class="qfzx_card">
            <h2 class="qfzx_card-title">
                {$r['title']}
            </h2>
            <div class="qfzx_card-content">
                <div class="left">
                    <p class="info">
                        {str_cut($r['description'],130)}...
                    </p>
                    <p class="date">{date('Y-m-d H:i:s',$r['inputtime'])}</p>
                </div>
                <img
                        src="{if !empty($r['filepath']) } {$home.'uploadfile/'.$r['filepath']} {else} https://cdn2.shupian.cn/sp-pt/wap/f99ctq3cydk0000.png {/if}"
                        class="info-item-cover"
                        alt="{$r['title']}" title="{$r['title']}"
                />
            </div>
        </a>
        {/loop}
        {/pc}
    </section>
</div>
</body>
</html>
